package com.itheima.stock.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 定义股票相关的值对象封装
 */
@ApiModel(description = "定义股票相关的值对象封装")
@Data
@ConfigurationProperties(prefix = "stock")
//@Component
public class StockInfoConfig {

    /**
     * 封装国内A股大盘编码集合
     */
    @ApiModelProperty(value = "封装国内A股大盘编码集合", position = 1)
    private List<String> inner;

    /**
     * 外盘编码集合
     */
    @ApiModelProperty(value = "外盘编码集合", position = 2)
    private List<String> outer;


    /**
     * 股票涨幅区间标题集合
     */
    @ApiModelProperty(value = "股票涨幅区间标题集合", position = 3)
    private List<String> upDownRange;

    /**
     * 大盘 外盘 个股的公共URL
     */
    @ApiModelProperty(value = "大盘 外盘 个股的公共URL", position = 4)
    private String marketUrl;

    /**
     * 板块采集
     */
    @ApiModelProperty(value = "板块采集", position = 5)
    private String blockUrl;

}
